<div class="left-menu" style="width:138px;">
    <div class="left-menu-content" style="width:138px;">
        <div class="left-menu-top skin-black">
            <!--
-->
        {if $_G['isSuperAdmin']}
            <div class="account-info-name">
                {if $_G['isSuperAdmin'] && (!in_array($_P['do'],['users','platform','yxmodule']) || in_array($_P['op'],['module_users','module_users_add']))}
                <a href="{php echo createWebUrl('yxmodule',array('op'=>'display','themeid'=>$_P['themeid']));}"><img src="/resource/images/backto.png" style="width: 28px; height: 28px; margin: 0 5px 0 10px; " />
                    <span class="account-name" style='color: #adb4cc;vertical-align: middle;'>{$_G['mpname']}</span></a>
                {else}
                <a href="{php echo createWebUrl('theme',array('op'=>'display','themeid'=>$_P['themeid']));}"><img src="/resource/images/backto.png" style="width: 28px; height: 28px; margin: 0 5px 0 10px; " />
                    <span class="account-name" style='color: #adb4cc;vertical-align: middle;'>{$_P['m']}</span></a>
                {/if}
            </div>
        {/if}

            {if !in_array($_P['do'],['users','platform','yxmodule']) || in_array($_P['op'],['module_users','module_users_add'])}
            <div class="module-info-name">
                <img src="http://css2020.yixuan.net/2020css/yx2020/icon.jpg" class="head-app-logo">
                <span class="name">{$_P['m']}</span>
            </div>
            {/if}
        </div>

        {if  !in_array($_P['do'],['users','platform','yxmodule']) || in_array($_P['op'],['module_users','module_users_add'])}

              <div class="panel panel-menu">
                <ul class="list-group collapse in" id="frame-platform_module_common">
                    {if $_G['isSuperAdmin']}
                        <li class="list-group-item ">
                            <a href="{php echo createWebUrl('yxmodule',array('op'=>'dispaly','themeid'=>$_P['themeid']));}" class="text-over" >
                                <img src="/resource/images/entry.png" style="width: 21px; height: 21px; margin-right: 3px; "/>
                                应用入口										</a>
                        </li>
                        <li class="list-group-item ">
                            <a href="{php echo createWebUrl('users',array('op'=>'module_users','themeid'=>$_P['themeid']));}" class="text-over" >
                                <i class='fa fa-cog'></i> 权限设置										</a>
                        </li>
                    {else}
                        <li class="list-group-item ">
                            <a href="#" class="text-over" >
                                <img src="/resource/images/entry.png" style="width: 21px; height: 21px; margin-right: 3px; "/>
                                应用入口										</a>
                        </li>
                    {/if}
                </ul>
              </div>
        {/if}

        <div class="panel panel-menu">
            {if $all_module}
                <div class="panel-heading">
                    <span class="" data-toggle="collapse" data-target="#frame-platform_module_menu" >活动编号<i class="wi wi-down-sign-s pull-right"></i></span>
                </div>
                <ul class="list-group collapse in" >
                    {loop $all_module $index $row}
                    <li class="list-group-item ">
                        <a href="{php echo createWebUrl('theme', array('op'=>'display','m'=>$row));}" class="text-over" >
                            <img src="http://css2020.yixuan.net/2020css/yx2020/icon.jpg" style="width: 24px; height: 22px; margin-right: 3px; "/>{$row}
                        </a>
                    </li>
                    {/loop}
                </ul>
            {else}
                <div class="panel-heading">
                    <span class="" data-toggle="collapse" data-target="#frame-platform_module_menu" onclick="util.cookie.set('menu_fold_tag:platform_module_menu', util.cookie.get('menu_fold_tag:platform_module_menu') == 1 ? 0 : 1)">业务菜单<img src="/resource/images/dropdown.png" style="width: 22px; height: 22px; margin-left: 19px;" class="dropdown" />
                        </i>
    </span>
                </div>
            <ul class="list-group collapse in" id="frame-platform_module_menu">
                <li class="list-group-item ">
                    <a class="text-over" href="{php echo createWebUrl('theme', array('op'=>'display','themeid'=>$_P['themeid']));}">
                        <img src="/resource/images/set.png" style="width: 24px; height: 22px; margin-right: 3px; "/>
                        活动管理
                    </a>
                </li>
                <li class="list-group-item ">
                    <a href="{php echo createWebUrl('record', array('op'=>'display','themeid'=>$_P['themeid']));}" class="text-over" >
                        <img src="/resource/images/set.png" style="width: 24px; height: 22px; margin-right: 3px; "/>
                        定单管理										</a>
                </li>
                <li class="list-group-item ">
                    <a href="{php echo createWebUrl('comm', array('op'=>'display','themeid'=>$_P['themeid']));}" class="text-over" >
                        <img src="/resource/images/set.png" style="width: 24px; height: 22px; margin-right: 3px; "/>
                        分销管理</a>
                </li>
                <li class="list-group-item ">
                    <a href="{php echo createWebUrl('order',array('op' => 'display','themeid'=>$_P['themeid']));}" class="text-over" >
                        <img src="/resource/images/set.png" style="width: 24px; height: 22px; margin-right: 3px; "/>
                        交易记录										</a>
                </li>
                <li class="list-group-item ">
                    <a href="{php echo createWebUrl('fans',array('op' => 'display','themeid'=>$_P['themeid']));}" class="text-over" >
                        <img src="/resource/images/set.png" style="width: 24px; height: 22px; margin-right: 3px; "/>
                        粉丝管理										</a>
                </li>
                <li class="list-group-item ">
                    <a href="{php echo createWebUrl('worker',array('op' => 'display','themeid'=>$_P['themeid']));}" class="text-over" >
                        <img src="/resource/images/set.png" style="width: 24px; height: 22px; margin-right: 3px; "/>
                        员工业绩										</a>
                </li>
            </ul>
            {/if}
        </div>

    </div>
</div>